package cn.eveo.trypagerindicator;

import android.graphics.drawable.Drawable;

import java.util.Locale;

/**
 * 记录tab的数据
 */
public class Tab {
    /**
     * 记录tab的position
     **/
    private int position;
    /**
     * 图文排列的规则
     **/
    private boolean isSame;
    private int mRule;
    private int tabBackgroundResId;
    private Locale locale;
    private boolean textAllCaps;
    private int mTextColor;
    private int mTextSize;
    private CharSequence mText;
    private Drawable mIcon;

    private int topPadding;
    private int bottomPadding;
    private int leftPadding;
    private int rightPadding;

    public boolean isSame() {
        return isSame;
    }

    public void setSame(boolean same) {
        isSame = same;
    }

    public int getRightPadding() {
        return rightPadding;
    }

    public void setRightPadding(int rightPadding) {
        this.rightPadding = rightPadding;
    }

    public int getTopPadding() {
        return topPadding;
    }

    public void setTopPadding(int topPadding) {
        this.topPadding = topPadding;
    }

    public int getBottomPadding() {
        return bottomPadding;
    }

    public void setBottomPadding(int bottomPadding) {
        this.bottomPadding = bottomPadding;
    }

    public int getLeftPadding() {
        return leftPadding;
    }

    public void setLeftPadding(int leftPadding) {
        this.leftPadding = leftPadding;
    }

    public boolean isTextAllCaps() {
        return textAllCaps;
    }

    public void setTextAllCaps(boolean textAllCaps) {
        this.textAllCaps = textAllCaps;
    }


    public Locale getLocale() {
        return locale;
    }

    public void setLocale(Locale locale) {
        this.locale = locale;
    }


    public int getTextSize() {
        return mTextSize;
    }

    public void setTextSize(int mTextSize) {
        this.mTextSize = mTextSize;
    }

    public int getTabBackgroundResId() {
        return tabBackgroundResId;
    }

    public void setTabBackgroundResId(int tabBackgroundResId) {
        this.tabBackgroundResId = tabBackgroundResId;
    }


    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public int getTextColor() {
        return mTextColor;
    }

    public void setTextColor(int mTextColor) {
        this.mTextColor = mTextColor;
    }

    public CharSequence getText() {
        return mText;
    }

    public void setText(CharSequence mText) {
        this.mText = mText;
    }

    public Drawable getIcon() {
        return mIcon;
    }

    public void setIcon(Drawable mIcon) {
        this.mIcon = mIcon;
    }

    public int getRule() {
        return mRule;
    }

    public void setRule(int mRule) {
        this.mRule = mRule;
    }
}
